﻿using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class ZoneConfiguration : EntityTypeConfiguration<Zone>
    {
        public ZoneConfiguration()
        {
            Property(g => g.ZoneID).IsRequired();
            Property(g => g.AdditionalContent).IsOptional();
            Property(g => g.Created).IsOptional();
            //Property(g => g.Entity_Lock).IsOptional();
            Property(g => g.Modified).IsOptional();
           //
            Property(g => g.Name).IsOptional();
            Property(g => g.ClientID).IsOptional();
        }
    }
}
